package com.bootdo.quota.dao;

import com.bootdo.quota.domain.QuotaHistoryDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-02-26 14:42:35
 */
@Mapper
public interface QuotaHistoryDao {

	QuotaHistoryDO get(Long id);
	
	List<QuotaHistoryDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(QuotaHistoryDO quotaHistory);

	int saveBySelectMaxVersion(QuotaHistoryDO quotaHistory);
	
	int update(QuotaHistoryDO quotaHistory);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
